home *** CD-ROM | disk | FTP | other *** search
- #include "blkmenu.h"
- #include "appkit.h"
- /* This example create 3 menus, first of them could call any other.
- One of menus could be removed not only from screen, but also from system
- with ALT_F3 command.
- */
-
- enum { AC_MENU1 = 101, AC_MENU2, AC_MENU3 };
-
- class Demo : public ApplicationKit
- {
- protected:
- Window* w;
- BlockMenu* m1;
- BlockMenu* m2;
- BlockMenu* m3;
- public:
- Demo(int num);
- virtual void show();
- virtual int application(int n);
- virtual int active() { return w->active(); }
- };
-